速報APP / 程式庫與試用程式 / Corona SDK Material Design

Corona SDK Material Design

價格:免費

更新日期:2017-05-30

檔案大小:9.3M

目前版本:1.0

版本需求:Android 4.0.3 以上版本

官方網站:https://twitter.com/ImpactStudios3

Email:impact-studios@outlook.com

聯絡地址:356 Decatur Drive Summerville, SC 29486 USA

Corona SDK Material Design(圖1)-速報App

This app demonstrates an up-and-coming plugin for Corona SDK. The plugin will allow developers to override the standard widget libraries in Corona's APIs extending their app's appearance to include Google's material design properties. This will make apps developed for iOS and Android using Corona SDK look more professional.

For example, the newButton API of my new plugin will override the newButton API of Corona's. Instead of getting the standard button for Corona, you will get a beautiful material button per Google's standard.

Furthermore, generic 'material' can be created. It inherits properties such as depth (which can be altered by changing the z of the object), automatically generated shadows, and resizing capabilities. I also make use of LUA's metatables to make getting and setting some material's z value easy. For example, "myMaterial.z" functions as a getter and setter. "myMaterial.z = 10" is the same as "myMaterial.setZ(10)" and "someVal = myMaterial.z" will set someVal to 10.

Moreover, behaviors are currently being development to control an app's material in uniform ways. This is demoed with the "horizontal" and "vertical" buttons. Automatic sizing and fitting coming in an update.

Corona SDK Material Design(圖2)-速報App

Slideout drawers are easy to implement, and you can use gestures present in native Android apps (i.e. swipe from the left).

Overflow menu is gorgeous in my opinion. I'm going to add the shortcut soon where you can just drag your finger over it to select an option.

Lastly, colors of material may be specified with the names provided by Google on their material design website. No more having to convert your RGB hexes to Corona's percentile RBG. Just copy and paste the color, or type in the name.

For more information on Material Design, see the website here: https://material.io/guidelines/

Corona SDK Material Design(圖3)-速報App

If you are interested in this plugin, email us at impact-studios [at] outlook.com

The plugin should be completed this year and published in the Corona Marketplace.

Corona SDK Material Design(圖4)-速報App